class ApiException implements Exception {
  final String message;
  final int code;

  ApiException({required this.message, required this.code});

  @override
  String toString() => 'ApiException(message: $message, code: $code)';
}